package org.idea.test;

import org.idea.dao.BankDao;
import org.idea.dao.impl.BankDaoImpl;

/**
 * 测试银行转帐 - 通过JDBC事务API实现
 *
 * @Author zqx
 * @Date 2023-10-12
 */
public class MainTest06 {
    public static void main(String[] args) {
        BankDao dao = new BankDaoImpl();
        int r = dao.trans2("张三", "李四", 10000);
        System.out.println(r);
    }
}
